package com.eleventwelve.iris.entity;

import javax.persistence.Column;
import javax.persistence.DiscriminatorValue;
import javax.persistence.Entity;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Transient;
/**
 * 
 * @author Ashley
 *
 */
@Entity
@DiscriminatorValue("MEDICAL_PROGRAM_TREATMENT")
public class MedicalProgramTreatment extends Treatment{
	private static final long serialVersionUID = 4714812973175803230L;

	@Column(name="IS_COMPLETED")
	private boolean isCompleted;
	
	@Transient
	private transient String transientDate;
	
	@ManyToOne
	@JoinColumn(name="PATIENT_MEDICAL_PROGRAM_ID")
	private PatientMedicalProgram patientMedicalProgram;


	public PatientMedicalProgram getPatientMedicalProgram() {
		return patientMedicalProgram;
	}

	public void setPatientMedicalProgram(PatientMedicalProgram patientMedicalProgram) {
		this.patientMedicalProgram = patientMedicalProgram;
	}

	public boolean getIsCompleted() {
		return isCompleted;
	}

	public void setIsCompleted(boolean isCompleted) {
		this.isCompleted = isCompleted;
	}

	public String getTransientDate() {
		return transientDate;
	}

	public void setTransientDate(String transientDate) {
		this.transientDate = transientDate;
	}

}
